<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<base href="<?php echo $base; ?>" />
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="catalog/view/theme/<?php echo $template; ?>/src/images/icon.ico" />
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/default.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/nivo-slider.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/style.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/scrollbar.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/prettyPhoto.css"/>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/<?php echo $template; ?>/src/css/reveal.css"/>




<!--[if IE]>
<link href="catalog/view/theme/<?php echo $template; ?>/src/css/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lt IE 9]>
<link href="catalog/view/theme/<?php echo $template; ?>/src/css/ie78.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="catalog/view/theme/<?php echo $template; ?>/src/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.easing.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.reveal.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.carouFredSel-4.5.2-packed.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.textshadow.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/jquery.tinyscrollbar.min.js"></script>
<script type="text/javascript" src="catalog/view/theme/<?php echo $template; ?>/src/js/init.js"></script>
 
<script type="text/javascript"><!--
function bookmark(url, title) {
	if (window.sidebar) { // firefox
    window.sidebar.addPanel(title, url, "");
	} else if(window.opera && window.print) { // opera
		var elem = document.createElement('a');
		elem.setAttribute('href',url);
		elem.setAttribute('title',title);
		elem.setAttribute('rel','sidebar');
		elem.click();
	} else if(document.all) {// ie
   		window.external.AddFavorite(url, title);
	}
}

function getURLVar(urlVarName) {
	var urlHalves = String(document.location).toLowerCase().split('?');
	var urlVarValue = '';
	
	if (urlHalves[1]) {
		var urlVars = urlHalves[1].split('&');

		for (var i = 0; i <= (urlVars.length); i++) {
			if (urlVars[i]) {
				var urlVarPair = urlVars[i].split('=');
				
				if (urlVarPair[0] && urlVarPair[0] == urlVarName.toLowerCase()) {
					urlVarValue = urlVarPair[1];
				}
			}
		}
	}
	
	return urlVarValue;
} 

$(document).ready(function() {
	route = getURLVar('route');	
    part = route.split('/');
	
	if (route == 'gallery/gallery') {;
		$('#menu_gallery').addClass('activeNavigation');
	}
	if (route == 'common/home') { ;
		$('#menu_home').addClass('activeNavigation');
	} 
    else if (route == 'information/contact') {
		$('#menu_contact').addClass('activeNavigation');	
	} 
	else if (route == 'news/news') {
		$('#memu_news').addClass('activeNavigation');
	}
	if (route == 'route=gallery/gallery') {
		$('#menu_gallery').addClass('activeNavigation');
	}
    else if (route == 'information/information') {
        alias = getURLVar('alias');
	   if(alias == 'udlejning') {
		$('#menu_udlejning').addClass('activeNavigation');
        
        }
        else{
            $('#menu_handelsbetingelser').addClass('activeNavigation');
            //$('#memu_news').addClass('activeNavigation');
        }
	} 
        
	if (!route) {
		$('#menu_home').addClass('activeNavigation');
	}
    jQuery("#btnSearch").click(function(even){
        even.preventDefault();
        url = '<?php echo HTTP_SERVER; ?>';
		
	url += 'index.php?route=product/search';
            
       window.location = url + '&keyword=' + jQuery('#search_value').val();   
        
       // jQuery("#seachform_mini").submit();
    });
});
//--></script>
<style>
img{border: none;}
.bg_alert{ width:270px; height:115px; background:url(catalog/view/theme/fritids/image/bg_alert.png) no-repeat top left; margin:0px auto; padding:15px 0px 0px 83px; color:#000;}
.m35l{ margin-left:35px;}
</style>
</head>

<body>


<!--Popup-->
<div class="bg_alert" id="show_popup" style="display:none; position: fixed; top: 35%; left: 50%; z-index:10001; margin-left:-140px;">
 <span id="f_focus" style="display:none;"></span>
 <div style="margin:0; padding-top:10px; min-height:60px;" id="alert"></div>
 <div style="padding-left: 40px;"><a href="javascript:void(0);" onclick="close_popup();"><img src="catalog/view/theme/fritids/image/bt_luk1.png" alt="" /></a></div>
</div>
<!--End Popup-->
<!--Need-->
<div style="display: none;position: fixed; top: 0;left: 0;width: 100%;height: 100%;background-color: #000000;z-index:10000;-moz-opacity: 0.8;opacity:.80;filter: alpha(opacity=80);" id="backoverlay"></div>
<!--End-->
  
<div class="container">
	<div class="header">
        <div class="logo">
            <h2><a href="index.php">Fritids-udstyr</a></h2>
        </div><!-- end div logo -->
        <div class="navigation">
            <ul>
                <li><a id="menu_home" href="<?php echo $home ?>">forside</a></li>
                <li><a id="memu_news" href="<?php echo $nyheder ?>">Nyheder</a></li>
                <li><a id="menu_udlejning" href="<?php echo $udlejning ?>">Udlejning</a></li>
                <li><a id="menu_gallery" href="<?php echo $gallery ?>">Forhandlerliste</a></li>
                <li><a id="menu_handelsbetingelser" href="<?php echo $handelsbetingelser ?>">Handelsbetingelser</a></li>
                <li><a id="menu_contact" href="<?php echo $contact ?>">Kontakt</a></li>
            </ul>
        </div><!-- end div navigation -->
        <div class="home-credit-card">
        	<img src="catalog/view/theme/<?php echo $template; ?>/image/reditcard1.png" />
        </div>
        <?php echo $cart ?>
		<!-- end div checkout -->
        <div class="searchbox">
            <form id="seachform_mini" name="seachform_mini" action="<?php echo $search; ?>" method="GET" >
                <fieldset>
                   
                    <input type="text" id="search_value" class="txtInput_toggle" name="keyword" value="<?php echo ($keyword ? $keyword : 'Indtast vare-navn') ?>"/>
                    
                    <a href="#" id="btnSearch">Search</a>                    
                </fieldset>
            </form>
        </div><!-- end searchbox"-->
        <div class="clear"></div>
    </div><!-- end div header -->

	